package com.gobo.eduservice.clients;

import com.gobo.commonutils.R;
import com.gobo.eduservice.clients.degradeimpl.AliyunOssClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "service-oss",fallback = AliyunOssClientImpl.class)
@Component
public interface AliyunOssClient {
    @PostMapping("/eduoss/fileoss/deleteFile")
    public R removeFile(@RequestParam String fileId);

}
